
package com.tiancheng.onecode.model.request.admin;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: kellen
 * @Description: 订单退款申请
 * @Date: create in 2024/12/29 15:57
 */
@Data
public class RefundOrderReq implements Serializable {
    /**
     * 主订单号
     */
    @NotBlank(message = "主订单号不能为空")
    private String orderId;
    /**
     * 退款金额
     */
    @NotNull(message = "退款金额不能为空")
    private BigDecimal refundAmount;
    /**
     * 退款原因
     */
    @NotBlank(message = "退款原因")
    private String refundReason;
}
